In computer science, a memory leak (or leakage, in this context) occurs when a computer program incorrectly manages memory allocations. In object-oriented programming, a memory leak may happen when an object is stored in memory but cannot be accessed by the running code.
详细百科解释